import React from 'react';

import { createStackNavigator } from '@react-navigation/stack';

import SplashScreen from './SplashScreen';
import SignInScreen from './SignInScreen';
import SignUPScreen from './SignUpScreen';

const LoginStack = createStackNavigator();

const LoginStackScreen = ({ navigation }) => (
  <LoginStack.Navigator screenOptions={{ headerShown: false }}>
    <LoginStack.Screen name="SplashScreen" component={SplashScreen} />
    <LoginStack.Screen name="SignInScreen" component={SignInScreen} />
    <LoginStack.Screen name="SignUpScreen" component={SignUPScreen} />
  </LoginStack.Navigator>
);

export default LoginStackScreen;
